package com.buba.user.feign.fallback;

import com.buba.pojo.record.Record;
import com.buba.user.feign.PayFeign;
import com.buba.utils.R;

import static org.reflections.Reflections.log;

/**
 * @Title: PayFeignFallback
 * @Description: TODO
 * @Auther: 梁玉杰
 * @Version: 1.0.0
 * @Date: 2022/6/15 16:27
 */
public class PayFeignFallback implements PayFeign {

    @Override
    public R paytoRecord(Record record) {
        log.info("Mr_record 服务宕机了");
        return R.error().data("message","充值失败！");
    }
}
